﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.IO;

namespace FrameDisplay.Services
{
    [ServiceContract(Namespace="http://calevinci.com/2010/FrameDisplay")]  
    public interface IWebInterfaceService
    {
        [OperationContract]
        [WebInvoke(
            Method = "GET",
            BodyStyle = WebMessageBodyStyle.Bare,
            UriTemplate = "data/{*file}")]
        Stream GetDataFile(string file);

        [OperationContract]
        [WebInvoke(
            Method = "GET",
            BodyStyle = WebMessageBodyStyle.Bare,
            UriTemplate = "MouseWatch?k={accessCode}")]
        Stream MouseWatch(string accessCode);
  
    }
}
